import 'package:gold/base/view_model.dart';

/// @description: 申请开票状态
/// @author tangzhentao
/// @created at 13:27 2024/12/14

class ApplyInvoiceViewmodel extends Viewmodel {
  /// 订单信息
  final int _orderId;

  ApplyInvoiceViewmodel(this._orderId);

  bool _personal = true;
  /// 个人或事业单位
  bool get personal => _personal;
  set personal(bool value) {
    if (_personal != value) {
      _personal = value;
      notifyListeners();
    }
  }

  bool _defaultInvoice = false;
  /// 默认发票
  bool get defaultInvoice => _defaultInvoice;
  set defaultInvoice(bool value) {
    if (_defaultInvoice != value) {
      _defaultInvoice = value;
      notifyListeners();
    }
  }

  /// 发布
  Future submitApplication() async {

  }
}
